package com.pkuse.bjousystem.dto.school.registry;

import javax.persistence.ColumnResult;
import javax.persistence.ConstructorResult;
import javax.persistence.MappedSuperclass;
import javax.persistence.SqlResultSetMapping;

@MappedSuperclass
@SqlResultSetMapping(name="RegistryDTO",
        classes = {
                @ConstructorResult(
                        targetClass = RegistryDTO.class,
                        columns = {
                                @ColumnResult(name = "nd", type = String.class),
                                @ColumnResult(name = "xqdm", type = String.class),
                                @ColumnResult(name = "xqmc", type = String.class),
                                @ColumnResult(name = "xxdm", type = String.class),
                                @ColumnResult(name = "xxmc", type = String.class),
                                @ColumnResult(name = "xslbdm", type = String.class),
                                @ColumnResult(name = "xslbmc", type = String.class),
                                @ColumnResult(name = "zydm", type = String.class),
                                @ColumnResult(name = "zymc", type = String.class),
                                @ColumnResult(name = "count", type = Long.class),
                        })
        })
public abstract class RegistryDTOHelper {
}
